package com.lagou.homework.Factory;

import com.lagou.homework.Dao.UserDao;
import com.lagou.homework.Dao.UserDaoImp;

public class UserDaoFactory {

    /**
     * 通过工厂方法实现对UserDao对象的创建并且返回
     */
    public static UserDao getUserDao(){
        return new UserDaoImp();
    }

}
